package com.javasm.service.MisMannageService.impl;


import com.javasm.dao.MisMannageDao.ReferralFundsDao;
import com.javasm.dao.MisMannageDao.impl.ReferralFundsDaoImpl;
import com.javasm.entity.MisMannageEntity.ProdInfo;
import com.javasm.service.MisMannageService.ReferralFundsService;

import java.util.List;

public class ReferralFundsServiceImpl implements ReferralFundsService {

    @Override
    public List<ProdInfo> getReferr(String date) {
        ReferralFundsDao referralFundsDao = new ReferralFundsDaoImpl();

        List<ProdInfo> prodInfos = referralFundsDao.getReferr(date);

        return prodInfos;
    }
}
